import Layout from '@/layout'

const TeachersRouter = {
  path: '/Teachers',
  component: Layout,
  redirect: 'Teachers',
  name: 'Teachers',
  meta: {
    title: '教师',
    icon: 'el-icon-user'
  },
  children: [
    {
      path: 'Teachers',
      component: () => import('@/views/alecturer/TeachersList'),
      name: 'KeyboardChart',
      meta: { title: '教师列表', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/alecturer/AddTeachers'),
      name: 'LineChart',
      meta: { title: '添加教师', noCache: true }
    },
  ]
}

export default TeachersRouter
